package com.rock.platform.core;

import org.springframework.dao.DataAccessException;

@SuppressWarnings("serial")
public class DefaultJPADataAccessException extends DataAccessException
{
    private String msg;
    
    public DefaultJPADataAccessException(String msg, Exception root) {
        super(msg, root);
        this.msg = msg;
    }
    
    
    @Override
    public String getMessage()
    {
        return this.msg;
    }
}

